set(requires
            driver
            esp_timer
            led)

idf_component_register(SRCS "esptim.c"
                    REQUIRES ${requires}
                    INCLUDE_DIRS ".")
# set(src_dirs
#             led)

# set(include_dirs
#             led)

# set(requires
#             driver)

# idf_component_register(SRC_DIRS ${src_dirs} INCLUDE_DIRS ${include_dirs} REQUIRES ${requires})

# component_compile_options(-ffast-math -O3 -Wno-error=format=-Wno-format)